package org.example.base.thlocal;

public class DataContext {

    private static ThreadLocal<String> threadLocal = new ThreadLocal<>();
    private static ThreadLocal<Integer> threadLocal2 = new ThreadLocal<>();

    public void set(String v) {
        threadLocal.set(v);
        threadLocal.set("aaaa");
        threadLocal2.set(123);
    }

    public String get() {
        return threadLocal.get();
    }

}
